<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/11
 * Time: 18:53
 */
namespace app\admin\model;
use think\Model;

class City extends Model
{
    public function area()
    {
        return $this->belongsTo('Area', 'id', 'aid');
    }

    public function foodCity()
    {
        return $this->hasMany("FoodCity", "cid", "id");
    }
}